package com.lottery.service.pc28.wealthService;

import com.lottery.dto.AccountTransactionDto;
import com.lottery.dto.ResultDto;

/**
 * 提现
 * 
 * @return
 */
public interface WithdrawalsService {

	/**
	 * 根据用户user_id查询余额和银行卡
	 * 
	 * @param user_id
	 * @return
	 */
	String selectWithdhall(int user_id);

	/**
	 * 插入充值都得数据 user_id 用户id transaction_money 变动金额 transaction_type 变动类型
	 * money_sources 资金来源
	 * 
	 * @return
	 */
	ResultDto<String> insertWithdrawDemo(int userId, double transaction_money, int transaction_type, String money_go)
			throws Exception;

	/**
	 * 插入账户流水
	 * 
	 * @return
	 */
	ResultDto<AccountTransactionDto> insertAccountTransactionDto(AccountTransactionDto accountTransactionDto);

}
